import allure
import requests


class BaseAPI:
    @allure.step("发送请求")
    def send_request(self, rep):
        """
        请求入口
        :param rep:
        :return:
        """
        return requests.request(**rep)
